package model.User.service;


import model.User.entity.User;

import java.util.List;

/**
 * Created by Sunshine、宸 on 2019/6/23.
 */
public interface IUserService {
    //    保存
    void Save(User user);


        //删除
    void delById(Integer user_id);


        //根据id查找
    User findById(Integer user_id);

    //查找所有

    List<User> findAll();

    //根据用户名进行模糊查询

    List<User> findMoHu(String user_name);



    void updateByUser(User user);

    User findByUserName(String user_name);


    User finByPhone(String user_phone);

    User findByEmail(User user);
}
